package com.gzist.elderlyserviceplatform.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gzist.elderlyserviceplatform.common.base.BaseDO;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 养老院信息表
 */
@Data
@TableName("nursing_home")
@Schema(description = "养老院信息表")
public class NursingHome extends BaseDO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "养老院名称")
    private String name;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "浏览量")
    private Integer viewCount;

    @Schema(description = "标签")
    private String tags;

    @Schema(description = "床位数量")
    private Integer beds;

    @Schema(description = "性质")
    private String nature;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "介绍内容")
    private String content;
}
